package com.jinzhi.jzweb.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jinzhi.common.base.CoreService;
import com.jinzhi.jzapi.certificate.pojo.ConsultationsVo;
import com.jinzhi.jzweb.domain.ConsultationsDO;

/**
 * 
 * <pre>
 * 资讯表
 * </pre>
 * <small> 2020-02-24 21:00:11 | lance</small>
 */
public interface ConsultationsService extends CoreService<ConsultationsDO> {
	boolean insert(ConsultationsDO consultations);
    boolean update(ConsultationsDO consultations);
    Page<ConsultationsVo> selectListByUserIdPage(int current, int number,String firstColumn, String columnName,Long userId);
    
    Page<ConsultationsVo> selectListPage(int current, int number,String firstColumn, String columnName);

    Page<ConsultationsVo> selectThumbnailListPage(int current, int number,String firstColumn, String columnName);

    Page<ConsultationsDO> findList(int current, int number,String secondColumn);
}
